package cc.mrbird.febs.power.entity;

import java.math.BigDecimal;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 *
 * @author MrBird
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AdminLogin implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 账户名称
     */
    private String accountName;

    /**
     * 纬度
     */
    private BigDecimal loginLat;

    /**
     * 经度
     */
    private BigDecimal loginLng;

    /**
     * 具体位置
     */
    private String address;

    /**
     * 登录ip
     */
    private String loginIp;

    /**
     * 登录时间
     */
    private String loginTime;

    public AdminLogin(String accountName, BigDecimal loginLat, BigDecimal loginLng, String address, String loginIp,String loginTime) {
        this.accountName = accountName;
        this.loginLat = loginLat;
        this.loginLng = loginLng;
        this.address = address;
        this.loginIp = loginIp;
        this.loginTime = loginTime;
    }

    public AdminLogin() {
    }
}
